package com.abc;

import java.util.Date;

/**
 * solr对象
 * @author ygsong.abcft
 *
 */
public class SolrParam {
	
	
	public static final String FIELD_ID = "id";
	public static final String FIELD_TITLE = "title";
	public static final String FIELD_DESCRIPTION = "description";
	public static final String FIELD_CONTENT = "content";
	public static final String FIELD_WEIGHT = "weight";
	public static final String FIELD_PRICE = "price";
	public static final String FIELD_AUTHOR = "author";
	public static final String FIELD_CREATETIME = "createtime";

	private String id;
	private String title;
	private String description;
	private String content;
	private float weight;
	private float price;
	private String author;
	private Date createtime;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public float getWeight() {
		return weight;
	}
	public void setWeight(float weight) {
		this.weight = weight;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
}
